package com.ruoyi.system.neu.wtask.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务管理对象 w_task
 * 
 * @author wxd
 * @date 2023-01-18
 */
public class WTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long taskId;

    /** 代办名称 */
    @Excel(name = "代办名称")
    private String taskName;

    /** 代办类型 */
    @Excel(name = "代办类型")
    private Integer taskType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wEndTime;

    /** 代办状态 */
    @Excel(name = "代办状态")
    private Integer taskStatus;

    /** 执行人 */
    @Excel(name = "执行人")
    private String executor;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskType(Integer taskType) 
    {
        this.taskType = taskType;
    }

    public Integer getTaskType() 
    {
        return taskType;
    }
    public void setwStartTime(Date wStartTime) 
    {
        this.wStartTime = wStartTime;
    }

    public Date getwStartTime() 
    {
        return wStartTime;
    }
    public void setwEndTime(Date wEndTime) 
    {
        this.wEndTime = wEndTime;
    }

    public Date getwEndTime() 
    {
        return wEndTime;
    }
    public void setTaskStatus(Integer taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public Integer getTaskStatus() 
    {
        return taskStatus;
    }
    public void setExecutor(String executor) 
    {
        this.executor = executor;
    }

    public String getExecutor() 
    {
        return executor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("taskType", getTaskType())
            .append("wStartTime", getwStartTime())
            .append("wEndTime", getwEndTime())
            .append("taskStatus", getTaskStatus())
            .append("executor", getExecutor())
            .toString();
    }
}
